package com.artisan.admin.model.adViewModels;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

@ApiModel
public class AdViewModel implements Serializable {
    @ApiModelProperty(value="名称",required = true,example = "1")
    private String name;  // 广告名称
    @ApiModelProperty(value="区域",required = true,example = "1")
    private String region;  // 区域
    @ApiModelProperty(value="上线状态",required = true,example = "1")
    private int status;  // 上线状态
    @ApiModelProperty(value="图片地址",required = true,example = "1")
    private String photoUrl; // 图片地址
    @ApiModelProperty(value="广告类型id",required = true,example = "1")
    private int typeId;  // 广告类型id,关联广告类型表
    @ApiModelProperty(value="链接",required = false,example = "1")
    private String link;  // 链接
    @ApiModelProperty(value="内容",required = false,example = "1")
    private String content;  // 内容
    @ApiModelProperty(value = "广告定位id", required = true, example = "1")
    private int adPositionId;  // 广告定位id，关联广告定位表

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getRegion() {
        return region;
    }

    public void setRegion(String region) {
        this.region = region;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getPhotoUrl() {
        return photoUrl;
    }

    public void setPhotoUrl(String photoUrl) {
        this.photoUrl = photoUrl;
    }

    public int getTypeId() {
        return typeId;
    }

    public void setTypeId(int typeId) {
        this.typeId = typeId;
    }

    public String getLink() {
        return link;
    }

    public void setLink(String link) {
        this.link = link;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getAdPositionId() {
        return adPositionId;
    }

    public void setAdPositionId(int adPositionId) {
        this.adPositionId = adPositionId;
    }
}
